package com.cheneyjoo.services;

import com.cheneyjoo.model.ResponseMessage;
import com.cheneyjoo.model.User;

public interface IUserService {
    ResponseMessage login(int type, String account, String pwd);
    ResponseMessage register(String data);
    ResponseMessage update(String data);
    ResponseMessage delete(int id);
    ResponseMessage get();
    ResponseMessage getById(String id);
    ResponseMessage getByName(String name);
    ResponseMessage updatePwd(int id, String oldPwd, String newPwd);
}
